package com.tsing.cedap.rest.vo.respVo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author TheTsing
 * @create 2022-01-27 10:00
 */
@Getter
@Setter
@Accessors(chain = true)
public class MiniGetAccountPageRespVo {

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("类型：1 收入  2 支出  3 充值  4 提现")
    private Integer type;

    @ApiModelProperty("说明")
    private String description;

    @ApiModelProperty("时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
